package com.jandar.spider.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 招投标列表
 *
 * </p>
 *
 * @author gaochenyang
 * @since 2021-01-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("content_bidding")
public class ContentBiddingEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String code;

    @TableField("mainBidMenuName")
    private String mainBidMenuName;

    private String title;

    @TableField("projectCode")
    private String projectCode;

    @TableField("projectName")
    private String projectName;

    @TableField("pubDate")
    private Long pubDate;

    @TableField("province")
    private String province;

    @TableField("districtName")
    private String districtName;

    private Integer type;

    @TableField("typeName")
    private String typeName;

    private String keywords;

    private String remark;

    private String url;

    @TableField("contentHtml")
    private String contentHtml;

    /**
     * 0 为处理 1 为已解析 2解析失败
     */
    private String state;

    private LocalDateTime savetime;

    /**
     * 附件json
     */
    private String attachment;

    private Integer attaStatus;

    private Integer status;

    @TableField("atta_path")
    private String attaPath;


}
